package com.empire.module.member.controller.admin.user.vo;

import com.empire.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

import static com.empire.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会员用户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberUserPageReqVO extends PageParam {

    @Schema(description = "手机号", example = "15601691300")
    private String mobile;

    @Schema(description = "用户昵称", example = "李四")
    private String nickname;

    @Schema(description = "会员标签编号列表", example = "[1, 2]")
    private List<Long> tagIds;

    @Schema(description = "人员IDS，支队不限制，市大队按照分类获取，区县大队按照管控单位获取", example = "[1, 2]")
    private List<Long> ids;

    @Schema(description = "人员分类ID", example = "1")
    private Long groupId;

    @Schema(description = "人员分类ID集合", example = "1")
    List<Long> groupIdList;

    @Schema(description = "人员管控单位ID", example = "1")
    private Long deptId;

    @Schema(description = "会员身份证号码", example = "100101195809133242")
    private String idcard;

    @Schema(description = "案件ID", example = "100101195809133242")
    private String caseId;

    @Schema(description = "只看案件", example = "true")
    private Boolean onlyCase;

    @Schema(description = "预警条件ID", example = "100101195809133242")
    private String warnConfigId;

    @Schema(description = "只看预警", example = "true")
    private Boolean onlyWarn;

    @Schema(description = "预警报告ID", example = "100101195809133242")
    private Long presentationId;

    @Schema(description = "只看presentationId预警报告选择的", example = "true")
    private Boolean onlyPresentation;

    /**
     * 国家
     */
    @Schema(description = "国家", example = "中国")
    private String country;
    /**
     * 国籍/民族
     */
    @Schema(description = "国籍/民族", example = "汉子")
    private String nation;
    /**
     * 备注
     */
    @Schema(description = "备注", example = "爱说笑唱歌")
    private String remark;
    /**
     * 电话号码
     */
    @Schema(description = "电话号码", example = "18898943452,16489352351")
    private String phoneNumber;
    /**
     * 车牌号码
     */
    @Schema(description = "车牌号码", example = "京A89783,沪A89345")
    private String carNumber;
    /**
     * 护照号
     */
    @Schema(description = "护照号", example = "H4530923")
    private String passportNumber;
    /**
     * 宗教信仰
     */
    @Schema(description = "宗教信仰", example = "基督教")
    private String faith;
    /**
     * 居住地
     */
    @Schema(description = "居住地", example = "广东省xxx1号")
    private String liveAddress;
    /**
     * 户籍地
     */
    @Schema(description = "户籍地", example = "广东省xxx1号")
    private String birthPlace;
    /**
     * 是否外国人 1-是 2-不是
     */
    @Schema(description = "是否外国人", example = "1")
    private Integer foreigner;

    @Schema(description = "人员ID列表", example = "[1, 2]")
    private List<Long> idList;
}
